<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
 
	<style>
   	*{
			margin:0; padding:0;font-size:14px;
		}
		ul{
			list-style:none;width:100px;
		}
		a{
			text-decoration:none;
			display:block;
			height:30px;line-height:30px;
			width:100px;
			background-color:#ccc;
			margin-bottom:1px;
			text-indent:20px; /*规定文本块中首行文本的缩进*/
		}
		a:hover{background-color:#f60;color:#fff}
   </style>
</head>
    
    <body>
     	<ul>
         <li><a href="#">首    页</a></li>
         <li><a href="#">新闻快讯</a></li>
         <li><a href="#">产品展示</a></li>
         <li><a href="#">联系我们</a></li>
      </ul>
    </body>
</html>
